package com.example.demo.service;

import com.example.demo.entity.Books;

import java.util.List;

/**
 * @description:
 * @author: ly
 * @create: 14-06-28 14:30:17
 */
public interface MyService {
    List<Books> getAllBooks();

    /**
    名字查询
     */
    Books getBookById(String name);

    /**
     * 模糊查询
     */
    List<Books> getBooksByName(String name);

    /**
     * 排序
     */
    List<Books> getBooksBySort(String condition);
}
